package cn.itcast.es.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 虎哥
 */
@Data
@Component
@ConfigurationProperties(prefix = "heima.elasticsearch")
public class ElasticProperties {
    private String hosts;
}
